package com.atguigu.demo2_mybatis.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaodf
 */
@RestController
public class HelloController {
    @GetMapping("/index")
    public String hello(){
        return "hello";
    }
}
